Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext


~Joan Froweploponi 23.Jan.04 08:27 PM a Web browser
Domino Server All Releases Windows 2000


I'm adding documents to a documentCollection with the following code. I can't use dups. How am I suppose to return to the code when I hit a dupe?

Is return correct?

// with addrecipients we add the recipient to the recipientDocCollection
// from the recipientEntryCollection
void addRecipients(ViewEntryCollection vec) {

try {
ViewEntry tempRecipient = vec.getFirstEntry();

while (tempRecipient != null ) {
Document doc = tempRecipient.getDocument();
recipientDocCollection.addDocument(doc , true);

tempRecipient = vec.getNextEntry(tempRecipient);
}
} catch ( Exception e) {
System.err.println( e.getMessage() ); //e.printStackTrace();
return;
} // try
} //addRecipients






continuing after exception on addDo... (~Joan Froweplop... 23.Jan.04)
. . RE: continuing after exception on a... (~Hal Zenrekonyl... 23.Jan.04)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS